//
//  ActionDetailInfoCell.m
//  com.modada.new
//
//  Created by ferver7 on 2019/4/23.
//  Copyright © 2019 ferver7. All rights reserved.
//

#import "ActionDetailInfoCell.h"
#import "ActionItemModel.h"
@implementation ActionDetailInfoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)reloadViewForModel:(id)model
{
    ActionItemModel * itemModel = (ActionItemModel *)model;
    self.nameLabel.text = itemModel.storeName;
    self.expLabel.text = itemModel.content;
    self.priceLabel.text = [NSString stringWithFormat:@"¥%@",itemModel.price];
    self.addressLabel.text = [NSString stringWithFormat:@"%@  %@",itemModel.city,itemModel.area];
    self.timeNumsLabel.text = [NSString stringWithFormat:@"%@前发布  %@人浏览",[NSDate compareCurrentTime:itemModel.createTime],itemModel.browseNumber];
    [self.logoImage sd_setImageWithURL:[NSURL URLWithString:itemModel.userImage] placeholderImage:mImageByName(@"")];
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
